module.exports = {
  output: {
      filename: 'js/[name].[contenthash:8].js'
  },
  // 在开发模式下追踪代码
  devtool: 'inline-source-map',

  mode: 'development',
  // dev-server
  devServer: {
      static: './dist'
  }
}